#pragma once

#include "Observation.h"


namespace uml {

Observation::Observation(const QString& umlType)
    : PackageableElement(umlType) {}

void Observation::fromJson(const QJsonObject& json, QStringList& errorList) {
    if (json.isEmpty()) {
        return;
    }

    PackageableElement::fromJson(json, errorList);
}

void Observation::toJson(QJsonObject& json) {
    PackageableElement::toJson(json);
}

} // namespace uml
